<%@ Page Title="Media Play Page" Language="C#" MasterPageFile="~/pages/MainPage.Master" AutoEventWireup="true" CodeBehind="PlayPage.aspx.cs" Inherits="SE560Multimedia.pages.WebForm4" %>
<%@ Register assembly="ASPNetVideo.NET3" namespace="ASPNetVideo" tagprefix="ASPNetVideo" %>
<%@ Register assembly="Spaanjaars.Toolkit" namespace="Spaanjaars.Toolkit" tagprefix="isp" %>
<%@ Register assembly="ASPNetFlashVideo.NET3" namespace="ASPNetFlashVideo" tagprefix="ASPNetFlashVideo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

        .style6
        {
            font-family: Arial;
            font-size: small;
            text-align: center;
            font-weight: bold;
        }
        .style7
        {
    }
    .style4
    {
        font-family: Arial;
        font-size: small;
            text-align: left;
        }
        </style>
</asp:Content>
<asp:Content ID="ContentMediaPlaying" 
    ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <table style="width:300px;">
        <tr>
            <td class="style6" 
                style="color: #FFFFFF; background-color: #5D7B9D" colspan="2">
                Media Now Playing</td>
        </tr>
        <tr>
            <td class="style5" style="background-color: #F7F6F3" colspan="2">
    <ASPNetVideo:WindowsMedia ID="WindowsMediaMainPlayer" runat="server">
    </ASPNetVideo:WindowsMedia>
            </td>
        </tr>
        <tr>
            <td class="style7" style="background-color: #F7F6F3">
                <asp:Label ID="LabelPlayingMediaRating0" runat="server" 
                    style="font-family: Arial; font-size: small">Name :</asp:Label>
            </td>
            <td class="style5" style="background-color: #F7F6F3">
                <asp:Label ID="LabelPlayingMediaName" runat="server" 
                    style="font-family: Arial; font-size: small"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style7" style="background-color: #F7F6F3">
                <asp:Label ID="LabelArtistName" runat="server" 
                    style="font-family: Arial; font-size: small">Artist Name :</asp:Label>
            </td>
            <td class="style5" style="background-color: #F7F6F3">
                <asp:Label ID="LabelPlayingArtistName" runat="server" 
                    style="font-family: Arial; font-size: small"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style7" style="background-color: #F7F6F3">
                <asp:Label ID="LabelAlbumName" runat="server" 
                    style="font-family: Arial; font-size: small">Album Name :</asp:Label>
            </td>
            <td class="style5" style="background-color: #F7F6F3">
                <asp:Label ID="LabelPlayingAlbumName" runat="server" 
                    style="font-family: Arial; font-size: small"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style7" style="background-color: #F7F6F3; vertical-align: top;">
                <asp:Label ID="LabelPlayingMediaRating" runat="server" 
                    style="font-family: Arial; font-size: small">Rating :</asp:Label>
            </td>
            <td class="style5" style="background-color: #F7F6F3">
                <isp:ContentRating ID="ContentRatingMedia" runat="server" 
                    LegendText="{0} rates / {1} avg." onrated="ContentRatingMedia_Rated" 
                    onrating="ContentRatingMedia_Rating" 
                    style="font-family: Arial; font-size: x-small" />
            </td>
        </tr>
        <tr>
            <td class="style7" style="background-color: #F7F6F3" colspan="2">
                <asp:Button ID="ButtonDownloadMedia" runat="server" onclick="ButtonDownloadMedia_Click" 
                    Text="Download Media" CssClass="style4" BackColor="#FFFBFF" 
                    BorderColor="#CCCCCC" BorderStyle="Solid" ForeColor="#284775" />
                &nbsp;<asp:Button ID="ButtonAddToPlaylist" runat="server" onclick="ButtonAddToPlaylist_Click" 
                    Text="Add To Playlist" CssClass="style4" BackColor="#FFFBFF" 
                    BorderColor="#CCCCCC" BorderStyle="Solid" ForeColor="#284775" />
                <br />
                <asp:Label ID="LabelOperationStatus" runat="server" 
                    style="font-family: Arial; font-size: small"></asp:Label>
                <br />
                <br />
                <asp:Label ID="LabelPlayingMediaRating1" runat="server" 
                    style="font-family: Arial; font-size: small">Comments</asp:Label>
                <asp:Image ID="ImageComments" runat="server" Height="24px" 
                    ImageUrl="~/App_Themes/DefaultTheme/comments-24.png" />
                <asp:GridView ID="GridViewComments" runat="server" CellPadding="4" ForeColor="#333333" 
                    GridLines="Vertical" AutoGenerateColumns="False" 
                    BorderStyle="None" ShowHeader="False" 
                    style="font-family: Arial; font-size: small">
                    <RowStyle BackColor="#E3EAEB" />
                    <Columns>
                        <asp:BoundField DataField="USER_NAME_SURNAME" HeaderText="User name" 
                            ShowHeader="False" />
                        <asp:BoundField DataField="COMMENT_TEXT" HeaderText="Comment" 
                            ShowHeader="False" />
                    </Columns>
                    <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#7C6F57" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
                <br />
                <asp:TextBox ID="TextBoxMakeAComment" runat="server" Height="71px" 
                    TextMode="MultiLine" Width="368px" BackColor="#FFFBFF" 
                    BorderColor="#CCCCCC" BorderStyle="Solid" 
                    style="font-family: Arial; font-size: small;"></asp:TextBox>
                <br />
                <asp:Button ID="ButtonComment" runat="server" onclick="ButtonComment_Click" 
                    Text="Make a comment" CssClass="style4" BackColor="#FFFBFF" 
                    BorderColor="#CCCCCC" BorderStyle="Solid" ForeColor="#284775" />
            </td>
        </tr>
        </table>
</asp:Content>
